@use 'sass:map';
@use 'core' as *;

// Export colors for JavaScript
:export {
    @each $key, $value in $abstract-colors {
        abstract-color-#{unquote($key)}: $value;
    }

    @each $key, $value in $semantic-colors {
        semantic-color-#{unquote($key)}: $value;
    }

    @each $name, $scale in $color-scales {
        @each $key, $value in map.get($color-scales, $name) {
            #{$name}-#{unquote($key)}: $value;
        }
    }
}
